package cn.springBoot.service.impl;

import org.camunda.bpm.engine.identity.*;
import org.camunda.bpm.engine.impl.identity.IdentityOperationResult;
import org.camunda.bpm.engine.impl.identity.ReadOnlyIdentityProvider;
import org.camunda.bpm.engine.impl.identity.WritableIdentityProvider;
import org.camunda.bpm.engine.impl.interceptor.CommandContext;

/**
 * @author ljx
 * @description:
 *  Camunda 平台区分只读和可写用户存储库。
 *  只读用户存储库提供对底层用户/组数据库的只读访问。
 *  可写用户存储库允许对用户数据库进行写访问，包括创建、更新和删除用户和组。
 *
 *   要提供自定义身份提供者实现，可以实现以下接口：
 *   org.camunda.bpm.engine.impl.identity.ReadOnlyIdentityProvider
 *   org.camunda.bpm.engine.impl.identity.WritableIdentityProvider
 * @class cn.springBoot.service.impl.CamundaUserServiceImpl
 * @create date: 2021/10/20
 */
public class CamundaUserServiceImpl  implements ReadOnlyIdentityProvider, WritableIdentityProvider
{
    @Override
    public User findUserById(String s) {
        return null;
    }

    @Override
    public UserQuery createUserQuery() {
        return null;
    }

    @Override
    public UserQuery createUserQuery(CommandContext commandContext) {
        return null;
    }

    @Override
    public NativeUserQuery createNativeUserQuery() {
        return null;
    }

    @Override
    public boolean checkPassword(String s, String s1) {
        return false;
    }

    @Override
    public Group findGroupById(String s) {
        return null;
    }

    @Override
    public GroupQuery createGroupQuery() {
        return null;
    }

    @Override
    public GroupQuery createGroupQuery(CommandContext commandContext) {
        return null;
    }

    @Override
    public Tenant findTenantById(String s) {
        return null;
    }

    @Override
    public TenantQuery createTenantQuery() {
        return null;
    }

    @Override
    public TenantQuery createTenantQuery(CommandContext commandContext) {
        return null;
    }

    @Override
    public User createNewUser(String s) {
        return null;
    }

    @Override
    public IdentityOperationResult saveUser(User user) {
        return null;
    }

    @Override
    public IdentityOperationResult deleteUser(String s) {
        return null;
    }

    @Override
    public IdentityOperationResult unlockUser(String s) {
        return null;
    }

    @Override
    public Group createNewGroup(String s) {
        return null;
    }

    @Override
    public IdentityOperationResult saveGroup(Group group) {
        return null;
    }

    @Override
    public IdentityOperationResult deleteGroup(String s) {
        return null;
    }

    @Override
    public Tenant createNewTenant(String s) {
        return null;
    }

    @Override
    public IdentityOperationResult saveTenant(Tenant tenant) {
        return null;
    }

    @Override
    public IdentityOperationResult deleteTenant(String s) {
        return null;
    }

    @Override
    public IdentityOperationResult createMembership(String s, String s1) {
        return null;
    }

    @Override
    public IdentityOperationResult deleteMembership(String s, String s1) {
        return null;
    }

    @Override
    public IdentityOperationResult createTenantUserMembership(String s, String s1) {
        return null;
    }

    @Override
    public IdentityOperationResult createTenantGroupMembership(String s, String s1) {
        return null;
    }

    @Override
    public IdentityOperationResult deleteTenantUserMembership(String s, String s1) {
        return null;
    }

    @Override
    public IdentityOperationResult deleteTenantGroupMembership(String s, String s1) {
        return null;
    }

    @Override
    public void flush() {

    }

    @Override
    public void close() {

    }
}
